package test.light.wizard;

import java.io.File;
import java.io.FileOutputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import org.junit.Test;
import org.light.wizard.POIExcelUtil;

public class POIExcelUtilTest {

	@Test
	public void exportBonuses() throws Exception{
//		File file = new File("/home/jerry/Jerry/CodeGenerator/temp/POIExportUtilTest.xls");
//		try(OutputStream out = new FileOutputStream(file)){
//			List<List<String>> contents = new ArrayList<>();
//			String sheetName = "奖金信息表";
//			String [] headers = {"工号","用户","理由","奖金账户余额","描述","奖金名称","活跃","序号"};
//			POIExcelUtil.exportExcelSheet(out, sheetName, Arrays.asList(headers), contents);
//		}
	}

}
